<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name=renderer content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>@yield('title') - {{$systeminfo['site_name']}}</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="description" content="{{$systeminfo['description']}}">
<meta name="baidu-site-verification" content="EA2u87jEJ5" />
<meta name="keywords" content="{{$systeminfo['keywords']}}">
<style type="text/css">
    .jyzfoot_ul{margin:0px auto;width:100%;height:45px;background: white;border-top:1px solid #ececec;border-bottom:1px solid #ececec;}
    .jyzfoot_ul ul{width:500px;}

    .jyzfoot_ul ul li {
        float: left;
        letter-spacing: 1px;
        margin: 0px 20px;
        line-height: 45px;
    }
</style>
<script src="{{asset('/addons/pusher/pusher.min.js')}}"></script>
<link href="{{ asset('/addons/flatui/css/flat-ui.css') }}" rel="stylesheet">
<link href="{{ asset('/addons/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{{ asset('/addons/bootstrap-dialog/css/bootstrap-dialog.min.css') }}" rel="stylesheet" type="text/css" />
<!-- Fonts -->
<link href="{{ asset('/js/Font-Awesome-3.2.1/css/font-awesome.min.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/common.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/front.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/style.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/posting.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/swiper.min.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('/css/accord.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('css/employ/list.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('css/employ/index.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/css/common/jPages.css') }}" rel="stylesheet" type="text/css">
@yield('css')
<link href="{{ asset('/css/common/animate.min.css') }}" rel="stylesheet" type="text/css">
<script src="{{ asset('/js/jquery-2.1.4.min.js') }}"></script>
<!--[if lt IE 9]>
<script src="{{ asset('/js/jquery-1.8.3.min.js') }}"></script>
<![endif]-->
<script src="{{ asset('/addons/flatui/js/flat-ui.min.js') }}"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak={{$baidukey}}"></script>
    <script type="text/javascript" src="{{ asset('/addons/layer/layer.js')}}"></script>
<script type="text/javascript" src="{{ asset('/js/common/jPages.js') }}"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="{{ asset('/js/html5shiv.min.js') }}"></script>
    <script src="{{ asset('/js/respond.min.js') }}"></script>
    <![endif]-->
<!-- <script src="{{ asset('/addons/bootstrap/js/bootstrap.min.js') }}"></script> -->
<script src="{{ asset('/addons/bootstrap-dialog/js/bootstrap-dialog.min.js') }}"></script>
@yield('pre_js')
<script src="{{ asset('/js/unslider.min.js') }}"></script>
<script src="{{ asset('/js/community.js') }}"></script>
<script src="{{ asset('/js/jquery.SuperSlide.2.1.1.js') }}"></script>
<script src="{{ asset('/laravel-u-editor/third-party/zeroclipboard/ZeroClipboard.js') }}"></script>
<script src="{{ asset('/js/swiper.min.js') }}"></script>
<script src="{{asset('/js/require.js')}}"></script>
<script src="{{asset('/js/app/config.js')}}"></script>
<script src="{{ asset('/js/underscore-min.js') }}"></script>
<script src="{{ asset('/js/common.js') }}"></script>
<script src="{{ asset('/js/common/common.js') }}"></script>
<script src="{{ asset('/js/company/search.js') }}"></script>
{{--百度网站统计工具--}}
{{--<script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?bef6427d846d17132ddb88b3502007fd";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
</script>--}}
<link rel="stylesheet" type="text/css" href="{{ asset('/css/teaches/jyz.css') }}" />
    @yield('styles')
    <style>

        /*二级菜单*/
        #droppos2 {
            position: relative;
        }

        #droppos1 {
            position: relative;
        }

        #nav .dropdown-menu li {
            width: 100% !important;
        }

        #nav .dropdown-menu {
            width: 120px;
            min-width: 120px !important;
            margin: -2px !important;
        }

        #nav .dropdown-menu > li > a {
            padding: 3px 10px !important;
            font-size: 12px !important;
            line-height: 2;
            opacity: 0.8;
        }

        .header-nav-title > ul > li {
            height: 55px;
        }

        .dropdown-menu > li > a > span {
            position: absolute;
            right: 10px;
            text-align: right;
        }

        .header .glyphicon {
            font-size: 12px !important;
            color: #0aae90;
        }
        body {
            min-width: 1200px;
        }
        a:hover{
            text-decoration: none;
        }
    </style>
</head>
<body>
<!-- 头部 -->
<div class="container" style="width:100%;padding:0;">
    @section('header')
        <div class="header">
            <div class="header-main">
                <div class="logo float-l">
                    <a href="{{ url('/') }}">
                        <img src="{{asset('/images/front/sy/logo.jpg')}}">
                    </a>
                </div>
                <div id="nav" class="col-xs-6 header-content common-header float-l">
                    <div class="header-nav-title">
                        <ul>
                            <li>
                                <div>
                                    <a href="/">&nbsp;&nbsp;&nbsp;首页</a>
                                </div>
                            </li>
                            <li class="dropdown" id="droppos1">
                                <div class="dropdown-toggle" id="dropdownMenu1">
                                    <a href="{{ url('/employ/list') }}">就业指南</a>
                                    <span class="glyphicon glyphicon-chevron-up"></span>
                                </div>
                                <ul class="dropdown-menu " role="menu" aria-labelledby="dropdownMenu1" id="Menu1">
                                    @foreach($employ_lan as $lan)
                                        <li role="presentation" >
                                            <a class="clearfix" role="menuitem" tabindex="-1" href="{{ url('/employ/list?cateid='.$lan->cat_id.'&sort=0') }}">{{$lan->cat_name}}
                                                <span>({{$lan->sums()}})</span></a>
                                        </li>
                                    @endforeach
                                </ul>
                            </li>

                            <li class="dropdown" id="droppos2">
                                <div class="dropdown-toggle" id="dropdownMenu2">
                                    <a href="{{ url('/teaches/list/1') }}">充电加油</a>
                                    <span class="glyphicon glyphicon-chevron-up"></span>
                                </div>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" id="Menu2">
                                    @foreach($teaches_lan as $lan)

                                        <li role="presentation" >
                                            <a class="clearfix" role="menuitem" tabindex="-1" href="{{ url('/teaches/list/1?secondid='.$lan->cat_id.'&sort=0') }}">{{$lan->cat_name}}
                                                <span>({{$lan->sums()}})</span></a>
                                        </li>
                                    @endforeach
                                </ul>
                            </li>
                            <li>
                                <div>
                                    <a href="{{ url('/campusrecruiment') }}">校园招聘</a>
                                </div>
                            </li>
                            <li>
                                <div>
                                    <a href="{{url('/bbs')}}">青苜社区</a>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="search-div-show clickAlert float-l">
                    <a href="javascript:void(0)"><img src="{{ asset('/images/front/jyz/Q.png') }}"></a>
                </div>
                <div class="header-user float-r margin-r-40">

                    <div class="user-icon float-l" @if(empty($authuser)) onclick="window.reload();" @else @if($authuser->group_id == 2) onclick="CompanyUrl()" @else onclick="MemberUrl()" @endif @endif>
                        @if(!empty($authuser))
                            <img src="{{ userlogo($authuser->id,'small') }}" alt="">
                            <input id="lo" type="hidden" value="1">
                            <input id="sysnotify" type="hidden" value="{{$sysnotify}}">
                        @else
                            <img src="{{asset('/images/front/sy/geren.png')}}" alt="">
                            <input id="lo" type="hidden" value="0">
                        @endif
                        @if($unread>0)
                            <div class="tips">{{$unread}}</div>@endif
                    </div>
                    <div class="down-trip float-r">
                        <img src="{{asset('/images/front/sy/xiala.png')}}" alt="">
                    </div>
                    @if(!empty($authuser))
                        @if($authuser->group_id == 3)
                            <ul class="dropdown-menu-user">
                                <li><a href="{{url('/member/account')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的账户</a></li>
                                <li class="bodertop"><a href="{{url('/member/collect/index')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的收藏</a></li>
                                <li class="bodertop"><a href="{{url('/campusmember/resume')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的求职</a></li>
                                <li class="bodertop"><a href="{{url('/member/hisexam')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的考试</a></li>
                                <li class="bodertop">
                                    <a href="{{url('/member/systemnotify')}}">
                                        <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的消息
                                        <span class="badge">{{ $unread?:'' }}</span>
                                    </a>
                                </li>
                                <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;我的评论</a></li>
                                <li class="bodertop"><a href="{{url('/member/question')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的社区</a></li>
                                <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                            </ul>
                        @elseif($authuser->group_id == 2)
                            <ul class="dropdown-menu-user">
                                <li><a href="{{url('/biz/cominfo-index')}}"><i class="icon-user"></i>&nbsp;&nbsp;账户信息</a></li>
                                <li class="bodertop"><a href="{{url('/campusenterprise/jobs-all')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;职位管理</a></li>
                                <li class="bodertop"><a href="{{url('/campusenterprise/resume-all')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;简历管理</a></li>
                                <li class="bodertop"><a href="{{url('/campusenterprise/interview')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;通知面试</a></li>
                                <li class="bodertop"><a href="{{url('/biz/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;题库管理</a></li>
                                <li class="bodertop">
                                    <a href="/member/systemnotify">
                                        <i class="icon-envelope-alt"></i>&nbsp;&nbsp;全部消息
                                        <span class="badge">{{ $unread?:'' }}</span>
                                    </a>
                                </li>
                                <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                            </ul>
                        @elseif($authuser->group_id == 1)
                            <ul class="dropdown-menu-user">
                                <li><a href="{{url('/member/account')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的账户</a></li>
                                <li class="bodertop"><a href="{{url('/member/collect/index')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的收藏</a></li>
                                <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a></li>
                                <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                                <li class="bodertop">
                                    <a href="{{url('/member/systemnotify')}}">
                                        <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的消息
                                        <span class="badge">{{ $unread?:'' }}</span>
                                    </a>
                                </li>
                                <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a></li>
                                <li class="bodertop"><a href="/admin/index"><i class="icon-cogs"></i>&nbsp;&nbsp;后台管理</a></li>
                                <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                            </ul>
                        @endif
                    @endif
                </div>
                <div class="clearfix"></div>
            </div>
            <div id="fade" class="black_overlay"></div>
            <div class="flip-container white_content" id="MyDiv" ontouchstart="this.classList.toggle('hover');">
                <div class="login-div" id="login-div">
                    <div class="loginclose" onclick="CloseLogin('MyDiv','fade')"><i class="icon-remove"></i></div>
                    <div class="to-login" id="to-login">
                       {{-- <form action="" id="login-form-new">
                            <div class="form-group">
                                <input type="text" name="username" class="form-control" placeholder="邮箱／手机">
                            </div>
                            <div class="form-group">
                                <input type="password" name="password" class="form-control" placeholder="密码">
                            </div>
                            <div class="form-group">
                                <div class="col-sm-8">
                                    <div class="checkbox fl">
                                        <label>
                                            <input type="checkbox" name="is_remember"> <span>记住我</span>
                                        </label>
                                    </div>
                                </div>
                                <div class="col-sm-4 fr">
                                    <div class="foget-pwd"><a href="{{url('/password/email')}}">忘记密码？</a></div>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            {!! csrf_field() !!}
                            <div class="form-group mt10">
                                <button class="btn login-action" type="button" id="login-action-new">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;陆</button>
                            </div>
                        </form>
                        <div class="form-group text-right">
                            <span>还没有青苜帐号</span>&nbsp;
                            <a href="javascript:void(0)" id="go-to-register">点击注册<i class="icon-double-angle-right"></i></a>
                        </div>--}}
                    </div>
                </div>
                <div class="register-div" id="register-div">
                    <div class="close" onclick="CloseLogin('MyDiv','fade')"><i class="icon-remove"></i></div>
                    <div class="to-login" id="to-register">
                        <form action="" id="register-form">
                            <div class="form-group">
                               <div class="register-tab active float-l" id="personal">
                                    我是人才
                                    <div class="register-checked">
                                        <img alt="" src="{{asset('/images/front/index/register-selected.png')}}"></div>
                                </div>
                                <div class="register-tab float-r" id="enterprise">
                                    我是企业
                                    <div class="register-checked" style="display: none">
                                        <img alt="" src="{{asset('/images/front/index/register-selected.png')}}"></div>
                                </div>
                                <div class="clearfix"></div>
                            </div>

                            {{--<div id="step_1">
                                <div class="form-group">
                                    <input type="text" name="username" class="form-control" placeholder="邮箱／手机">
                                </div>
                                <div class="form-group reg-small-group clearfix">
                                    <input type="text" name="verify_code" class="form-control float-l" placeholder="我不是机器人">
                                    <div class="float-r verify-img">
                                        <img src="{{ url('captcha') }}" onclick="this.src='{{ url('captcha') }}?r='+Math.random();" width="100%" height='43' alt="点击刷新验证码">
                                    </div>
                                </div>
                                <div class="form-group reg-small-group clearfix">
                                    <input type="number" name="phone_code" class="form-control float-l" placeholder="请输入验证码">
                                    <button class="float-r curl-code selected" type="button" id="g-to_verify" onclick="getverify('register-form',0)">
                                        <span class="color-3 hide font-16" id="counter">60S</span>
                                        <span id="counter_cnt">获取验证码</span>
                                    </button>
                                </div>
                                <div class="form-group mt10">
                                    <button class="btn login-action" disabled="disabled" type="button" id="jump_next">下&nbsp;&nbsp;一&nbsp;&nbsp;步</button>
                                </div>
                            </div>--}}
                           {{-- <div id="step_2" style="display:none">
                                <div class="form-group">
                                    <input type="password" name="password" class="form-control" placeholder="密码">
                                </div>
                                <div class="form-group">
                                    <input type="password" name="repassword" class="form-control" placeholder="确认密码">
                                </div>
                                <div class="form-group height-30">
                                    <div class="col-sm-10">
                                        <div class="checkbox fl">
                                            <label>
                                                <input type="checkbox" name="is_remember">
                                                <span>我已阅读并同意</span>
                                                <a href="#"><span class="color-green">《青苜用户协议》</span></a>
                                            </label>
                                        </div>
                                    </div>
                                    <div class="clearfix"></div>
                                </div>
                                <div class="form-group mt10">
                                    <button class="btn login-action" type="button" id="register-action">注&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;册</button>
                                </div>
                            </div>--}}
                        </form>
                        {{--<div class="form-group text-right">
                            <span>已有青苜帐号？</span>&nbsp;<a href="javascript:void(0)" id="go-to-login">立即登陆<i class="glyphicon glyphicon-chevron-right"></i></a>
                        </div>--}}
                    </div>
                </div>
            </div>
        </div>
        <!-- 私信弹框 -->
        <div class="modal fade bs-example-modal-sm" id="myMessageDetail" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
            <div class="modal-dialog modal-sm">
                <div class="modal-content">
                    <div style="" class="letter_big">
                        <form id="messageForm">
                            <div class="letter_h">
                                <button type="button" class="close msgbtn" data-dismiss="modal" aria-label="Close">
                                    <span aria-hidden="true" class="font-18">&times;</span></button>
                                <h4 class="modal-title title" id="myModalLabel">YueGuang光</h4>
                            </div>
                            <div class="user_talk clearfix" id="message_content">

                            </div>
                            <div class="talk_res">
                                <textarea class="talk_area" name="content" id="msgContent"></textarea>
                            </div>
                            <div class="clearfix"></div>
                            <div class="talk_bottom">
                                {!! csrf_field() !!}
                                <button class="res_but" type="button" id="messge_send">回复</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript" language="javascript">
            $(function () {
                alertContent(".clickAlert", ".alertDiv", ".alertClose");
                function alertContent(LeanA, LeanB, LeanC) {
                    $(LeanB).hide();
                    $(LeanA).click(function () {
                        $("#nav").addClass('alertdiv');
                        $("#nav li").addClass('currno');
                        $(LeanB).fadeIn(200);
                    });
                    $(LeanC).click(function () {
                        $("#nav").removeClass('alertdiv');
                        $("#nav li").removeClass('currno');
                        $(LeanB).fadeOut(200);
                    });
                }
            })
        </script>
    @show
</div>
        <!-- 内容 -->
@yield('content')
        <!-- 底部 -->
@section('footer')
    <div class="footer">
        <div class="footer-icon">
            <div class="footer-icon-share">
                <div id="show-weibo-img" class="fl" style="cursor: pointer;" onclick="WeiBoUrl()">
                    <img src="/images/front/newweibo.png">
                    {{--  <img id="weibo-img" src="/images/front/wbcode.png"> --}}
                </div>
                <div id="show-weixin-img" class="fr" style="cursor: pointer;">
                    <img src="/images/front/newweixin.png">
                    <img id="weixin-img" src="/images/front/wxcode.png">
                </div>
                <div class="clr"></div>
            </div>
        </div>
        <div class="footer-links">
            <ul>
                <li><a href="{{url('/content/about')}}">关于我们</a></li>
                <li><a href="{{url('/content/join')}}">合作加盟</a></li>
                <li><a href="{{url('/content/contact')}}">联系我们</a></li>
                <li><a href="{{url('/content/news')}}">新闻</a></li>
                <li><a href="{{url('/content/links')}}">友情链接</a></li>
                <div class="clearfix"></div>
            </ul>
        </div>
        <div class="footer-copy">
           {{-- <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                document.write(unescape("%3Cspan id='cnzz_stat_icon_1257700595'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1257700595%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>--}}
            <span>&copy;2015 Cimers 使用青苜前必读 {{$systeminfo['icp_beian']}}</span>
        </div>
    </div>
@show

<script type="text/javascript">
    $("#droppos1").hover(function () {
        $('#Menu1').slideDown('slow');
        $('#dropdownMenu1 .glyphicon').removeClass('glyphicon-chevron-up').addClass('glyphicon glyphicon-chevron-down');
    }, function () {
        $('#Menu1').hide();
        $('#dropdownMenu1 .glyphicon').removeClass('glyphicon-chevron-down ').addClass('glyphicon-chevron-up');
    });
    $("#droppos2").hover(function () {
        $('#Menu2').slideDown('slow');
        $('#dropdownMenu2 .glyphicon').removeClass('glyphicon-chevron-up').addClass('glyphicon glyphicon-chevron-down');
    }, function () {
        $('#Menu2').hide();
        $('#dropdownMenu2 .glyphicon').removeClass('glyphicon-chevron-down ').addClass('glyphicon-chevron-up');
    });
/*    $(function () {
        $('#nav ul').find('li').attr('class', 'curr').removeClass('curr');
        $('#nav ul li').eq('$nav').attr('class', 'curr');
    });*/
</script>
<script>

    // Enable pusher logging - don't include this in production
    //Pusher.logToConsole = true;

    var pusher = new Pusher('fd3d714be0dc78293442', {
        cluster: 'ap1',
        encrypted: true
    });
    var channel = pusher.subscribe('{{  $authuser ? $authuser->id : 0 }}');
    channel.bind('my-event', function(data) {
        //alert(data.message);
        var tips = $('.tips').html();
        tips = parseInt(tips);
        $('.tips').html(tips+1);
        var badge = $('.badge:first').html();
        badge = parseInt(badge);
        $('.badge:first').html(badge+1);
        if (document.hasFocus()) {
            layer.open({
                title:'青苜网系统消息',
                type: 1,
                area: ['320px', '120px'],
                shift: 2,
                offset: 'rb',
                shade: [0],
                /*time: 5000,*/
                anim: 2,
                shadeClose: true,
                content: '<p style="margin-top: 20px;text-align: left;padding-left: 20px;padding-right: 20px;">'+data.message+'</p>' //这里content是一个普通的String
            });
        }
    });
</script>
<!--弹出透明框开始-->
<div class="alertDiv" style="display:none">
    <div class="jyz_seekdiv">
        <div class="jyz_seek">
            @if(str_contains(Request::getRequestUri(),'teaches'))
                <input type="text" name="search" class="inp_key" id="teaches_keyword" placeholder="搜索">
                <img id="teaches_searchbtn" style="cursor: pointer;" src="{{ asset('/images/front/jyz/fdj.png') }}">
            @else
                <input type="text" name="search" class="inp_key" id="employ_keyword" onpropertychange="familiarSearch('/fsearch', '{{ csrf_token() }}')"  oninput="familiarSearch('/fsearch', '{{ csrf_token() }}')" placeholder="搜索">
                <img id="employ_searchbtn" style="cursor: pointer;" src="{{ asset('/images/front/jyz/fdj.png') }}">
            @endif
            <div class="alertClose"><img src="{{ asset('/images/front/jyz/X.png') }}"></div>
        </div>

        <script type="text/javascript">JobsSearch();</script>
        <div class="jyz_navdiv" id="ddddd" style="margin-left:350px;">

        </div>
        <script type="text/javascript">
            function familiarSearch(url,token){
                var id = $("#employ_keyword").val();
               // alert(id);
               // $('#grid').css('display', '');
                var datastr = 'id=' + id ;
               // alert(datastr);
                $.ajax({
                    'url':url,
                    'type':'POST',
                    'data':datastr+'&_token='+ token,
                    error: function(data) {
                        //alert('测试333');
                    },
                    success: function(data){
                        if(data.status == 'success'){
                            //$("#ddddd").html(data.data);
                            var content = data.data;
                            var html = '';
                            var x;
                            for(x in content){
                                html +=' <span style="display:inline-block; margin-right:100px; margin-bottom:30px; width:90px;"><a href="/teaches/list/1?kw='+content[x]+'" style="color: #fff" hidefocus="true">'+content[x]+'</a></span>';
                            }
                            $("#ddddd").html(html);
                        }else{
                            //alert('测试3');
                        }

                    }
                });
            }
        </script>
    </div>

</div>
@yield('js')
</body>
</html>
